package Song.Han.demo04;


public class Demo01Synchronized {
    public static void main(String[] args) {

        //RunnableImpl01 run = new RunnableImpl01();

        //RunnableImpl02 run = new RunnableImpl02();
        //System.out.println(run);//RunnableImpl02.this

        RunnableLock run = new RunnableLock();
        Thread t0 = new Thread(run);
        Thread t1 = new Thread(run);
        Thread t2 = new Thread(run);

        t0.start();
        t1.start();
        t2.start();
    }
}
